package com.huawei.appgallery.forum.user.usercenter.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import com.huawei.appgallery.forum.base.card.ForumNode;
import com.huawei.appgallery.forum.user.usercenter.card.ForumFollowUserCard;
import o.azb;
import o.cbb.d;

public class ForumFollowUserNode extends ForumNode {
    public ForumFollowUserNode(Context context) {
        super(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        View view = (RelativeLayout) LayoutInflater.from(this.ॱ).inflate(ˎ(), null);
        azb.ˏ(view);
        ˊ(ˋ(view));
        viewGroup.addView(view);
        return true;
    }

    private ForumFollowUserCard ˋ(View view) {
        ForumFollowUserCard forumFollowUserCard = new ForumFollowUserCard(this.ॱ);
        forumFollowUserCard.ˏ(view);
        return forumFollowUserCard;
    }

    public int ˎ() {
        return d.ॱ;
    }
}
